package com.smartstate.dataManagement.controller;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.smartstate.dataManagement.entity.Equipment;
import com.smartstate.dataManagement.entity.EquipmentType;
import com.smartstate.dataManagement.service.EquipmentTypeService;
import com.smartstate.dataManagement.vo.ResultVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>设备类型</p>
 * <p>@Author 陈永杰</p>
 * <p>@Date: 2022/8/24</p>
 * <p>@Time: 16:46</p>
 * <p>@version 1.0 <p>
 */
@RestController
@Api(tags = {"设备类型"})
@RequestMapping("/EquipmentType")
public class EquipmentTypeController {

    @Autowired
    private EquipmentTypeService equipmentTypeService;

    @PostMapping("/selectEquipmentType")
    @ApiOperation(value = "查询设备类型查询")
    public ResultVO selectEquipmentType() {
        return ResultVO.ok(equipmentTypeService.selectEquipmentType());
    }

}